@import 'src/style/variable';

.head {
  margin-top: 10px;

  @media (min-width: $small) {
    margin-top: 20px;
  }

  font-size: 27px;
  font-weight: 600;
}

.content {
  border-radius: 12px;
  background-color: var(--modal-bg);
  margin-top: 30px;
}

.block {
  padding: 25px 20px 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;

  > div {
    display: flex;
    justify-content: space-between;
  }

  @media (min-width: $xsmall) {
    padding: 40px 45px 30px 45px;
    flex-direction: row;
    row-gap: 20px;
    column-gap: 10px;
    flex-wrap: wrap;

    > div {
      display: block;
      width: calc((100% - 20px) / 3);
    }
  }
}

.payment {
  padding: 30px 15px 40px 15px;

  @media (min-width: $xsmall) {
    padding: 30px 40px 40px 40px;
  }

  .title {
    color: var(--label);
    padding-bottom: 15px;
  }

  .bank {
    font-size: 14px;
    line-height: 21px;

    .location {
      display: flex;
      gap: 15px;
    }
    @media (min-width: $xsmall) {
      display: flex;
      gap: 24px;
      > div {
        width: calc(100% / 5);
      }
    }
  }
}

.key {
  color: var(--label);
}

.divider {
  background-color: var(--divider);
  height: 1px;
  margin: 0 15px;

  @media (min-width: $xsmall) {
    margin: 0 40px;
  }
}

.buttons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 15px 40px 15px;

  @media (min-width: $xsmall) {
    padding: 0 40px 40px 40px;
  }

  > div > button {
    font-weight: bold;
  }

  .confirm {
    display: flex;
    gap: 20px;
  }
}
